<?php

/**
* Controller:  "About"
*
* This controller loads the "About" page, which gives a brief information block
* about the pet shop.
*
* Functions:  index
*
* @author     Brandon A Johnson
* @copyright  LIS4368-01: "Web Development with PHP," Spring 2010
* @version    1.0
* @date       April 24, 2010
*
*/

class About extends Controller {

	/**
	* About() - constructor
	*
	* allows this file to act as a valid CodeIgniter controller
	*/
	function About()
	{
		parent::Controller();
	}
	
	/**
	* index() - default function
	*
	* loads the header view, which includes the pet shop logo and standard
	* menu links, and the page-specific view underneath
	*/
	function index()
	{
		// destroys the cookie session just in case someone clicks here from the secure section
		$this->load->library('session');
		$this->session->sess_destroy();

		$this->load->view('header');
		$this->load->view('about');
	}
}

/* End of file about.php */
/* Location: ./system/application/controllers/about.php */